package com.jc.order.constant;

public class ErrorCode {

    public static final Integer SUCCESS_CODE = 200;

    // 错误代码定义
    public static final Integer SYS_ERR_CODE = 500;
    public static final Integer BASE_INFO_ERROR = 1001; //基础信息
    public static final Integer DATA_PARSE_ERROR = 1002; //参数格式错误
    public static final Integer VALIDATION_FAILED = 1003; //数据校验未通过
    public static final Integer DUPLICATE_APPLICATION = 1004; //数据已存在
    public static final Integer INVALID_OPERATION_TYPE = 1005; //不支持数据
    public static final Integer RECORD_NOT_FOUND = 1006; // 数据不存在
    public static final Integer INVALID_STATUS = 1007;  // 数据存在 状态不符合
    public static final Integer NO_CHANGES_DETECTED = 1008; // 未修改数据
    public static final Integer INTERFACE_ERR_CODE = 4000; // 调用接口不符
    public static final Integer QUERY_PARAM_MISSING = 2001; //缺少关键查询参数
    public static final Integer QUERY_TOO_LARGE = 2002; //查询数据量过大


    public static final Integer CALCULATION_ERROR = 3000; //计算错误
}
